home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Flock 0.9.1.3 stable
/
flock-0.9.1.3.en-US.win32.exe
/
flock
/
res
/
detect
/
blogsome.xml
< prev
next >
Wrap
Extensible Markup Language
|
2007-10-12
|
1KB
|
44 lines
<?xml version="1.0" encoding="utf-8"?>
<service name="blogsome"
version="$Id: blogsome.xml 13478 2007-07-19 19:45:26Z chris $"
xmlns="http://www.flock.com/web-detective#">
<strings>
<string name="domains" value="blogsome.com"/>
</strings>
<detect type="login">
<url><domain equals="blogsome.com"/></url>
<form>
<xpath name="username" extract="value">
<![CDATA[//input[@id="log"]]]>
</xpath>
<xpath name="password" extract="value">
<![CDATA[//input[@id="pwd"]]]>
</xpath>
</form>
</detect>
<detect type="loggedin">
<url><domain equals="blogsome.com"/></url>
<xpath><![CDATA[//ul/li[@class="last"]/a/text()[contains(.,"Logout")]]]></xpath>
</detect>
<detect type="changepassword">
<url>
<domain equals="blogsome.com"/>
<path contains="/wp-admin/profile.php"/>
</url>
<document>
<regexp multiline="true" re1="username">
<![CDATA[/Username:<\/th>.*?>(.*?)<\/td>/]]>
</regexp>
</document>
<form>
<xpath name="password" extract="value">
<![CDATA[//input[@type="password"][@name="pass2"]]]>
</xpath>
</form>
</detect>
</service>